<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/12/7
 * Time: 8:25
 */

echo '订单中心<br />';

//1. 获取COOKIES用户ID
//读取COOKIES
if(!empty($_COOKIE['userid'])){
    echo '开始查询用户编号为: ('.$_COOKIE['userid'].')订单信息';
}else{
    echo '你尚未登入，请登入';
    echo '<a href="/user/login.php">请登入</a>';
}
